package com.xb.loan.usercenter.service.user.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户支付卡信息VO
 *
 */
public class UserPayCardVO implements Serializable {
	
	private static final long serialVersionUID = -1367169246425026936L;

	private String paycardId;

	private String userId;
	
	private String paycardNo;
	
	private String paycardName;
	
	private Integer isDefault;
	
	private Date createTime;
	
	private Integer state;
	
	private Integer paycardType;
	
	private String paycardProvince;
	
	private String paycardCity;
	
	private String paycardSubbranch;
	// 支付卡所属银行名称
	private String payCardTypeName;
	
	public String getPayCardTypeName() {
		return payCardTypeName;
	}

	public void setPayCardTypeName(String payCardTypeName) {
		this.payCardTypeName = payCardTypeName;
	}

	public String getPaycardId() {
	    return paycardId;
	}
	
	public void setPaycardId(String paycardId) {
	    this.paycardId = paycardId == null ? null : paycardId.trim();
	}
	
	public String getUserId() {
	    return userId;
	}
	
	public void setUserId(String userId) {
	    this.userId = userId == null ? null : userId.trim();
	}
	
	public String getPaycardNo() {
	    return paycardNo;
	}
	
	public void setPaycardNo(String paycardNo) {
	    this.paycardNo = paycardNo == null ? null : paycardNo.trim();
	}
	
	public String getPaycardName() {
	    return paycardName;
	}
	
	public void setPaycardName(String paycardName) {
	    this.paycardName = paycardName == null ? null : paycardName.trim();
	}
	
	public Integer getIsDefault() {
	    return isDefault;
	}
	
	public void setIsDefault(Integer isDefault) {
	    this.isDefault = isDefault;
	}
	
	public Date getCreateTime() {
	    return createTime;
	}
	
	public void setCreateTime(Date createTime) {
	    this.createTime = createTime;
	}
	
	public Integer getState() {
	    return state;
	}
	
	public void setState(Integer state) {
	    this.state = state;
	}
	
	public Integer getPaycardType() {
	    return paycardType;
	}

    public String getPaycardTypeStr() {
        return String.valueOf(paycardType);
    }
	public void setPaycardType(Integer paycardType) {
	    this.paycardType = paycardType;
	}
	
	public String getPaycardProvince() {
	    return paycardProvince;
	}
	
	public void setPaycardProvince(String paycardProvince) {
	    this.paycardProvince = paycardProvince == null ? null : paycardProvince.trim();
	}
	
	public String getPaycardCity() {
	    return paycardCity;
	}
	
	public void setPaycardCity(String paycardCity) {
	    this.paycardCity = paycardCity == null ? null : paycardCity.trim();
	}
	
	public String getPaycardSubbranch() {
	    return paycardSubbranch;
	}
	
	public void setPaycardSubbranch(String paycardSubbranch) {
	    this.paycardSubbranch = paycardSubbranch == null ? null : paycardSubbranch.trim();
	}

	@Override
	public String toString() {
		return "[paycardId=" + paycardId + ", userId=" + userId
				+ ", paycardNo=" + paycardNo + ", paycardName=" + paycardName
				+ ", isDefault=" + isDefault + ", createTime=" + createTime
				+ ", state=" + state + ", paycardType=" + paycardType
				+ ", paycardProvince=" + paycardProvince
				+ ", paycardCity=" + paycardCity + ", paycardSubbranch="
				+ paycardSubbranch + "]";
	}
	
	
}
